package com.shuma.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuma.model.product.pojo.Order;
import com.shuma.model.product.vo.SellVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-06-16
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    List<SellVo> selectListByProductId(LocalDate startTime, LocalDate endTime, List<Long> productIds);
}
